func html/template.errorf

15 uses

	html/template (current package)
		error.go#L246: func errorf(k ErrorCode, node parse.Node, line int, f string, args ...any) *Error {
		escape.go#L195: 					err:   errorf(ErrPredefinedEscaper, n, n.Line, "predefined escaper %q disallowed in template", ident),
		escape.go#L221: 				err:   errorf(ErrAmbigContext, n, n.Line, "%s appears in an ambiguous context within a URL", n),
		escape.go#L503: 		err:   errorf(ErrBranchEnd, node, 0, "{{%s}} branches end in different contexts: %v, %v", nodeName, a, b),
		escape.go#L640: 				err:   errorf(ErrNoSuchTemplate, node, line, "%q is an incomplete or empty template", name),
		escape.go#L645: 			err:   errorf(ErrNoSuchTemplate, node, line, "no such template %q", name),
		escape.go#L677: 			err:   errorf(ErrOutputContext, t.Tree.Root, 0, "cannot compute output context for template %s", t.Name()),
		escape.go#L851: 				err:   errorf(ErrBadHTML, nil, 0, "%q in unquoted attr: %q", s[j:j+1], s[:i]),
		transition.go#L109: 			err:   errorf(ErrBadHTML, nil, 0, "expected space, attr name, or end of tag, but got %q", s[i:]),
		transition.go#L300: 				err:   errorf(ErrSlashAmbig, nil, 0, "'/' could start a division or regexp: %.32q", s[i:]),
		transition.go#L363: 					err:   errorf(ErrPartialEscape, nil, 0, "unfinished escape sequence in JS string: %q", s),
		transition.go#L406: 					err:   errorf(ErrPartialEscape, nil, 0, "unfinished escape sequence in JS string: %q", s),
		transition.go#L438: 			err:   errorf(ErrPartialCharset, nil, 0, "unfinished JS regexp charset: %q", s),
		transition.go#L598: 					err:   errorf(ErrPartialEscape, nil, 0, "unfinished escape sequence in CSS string: %q", s),
		transition.go#L628: 			return -1, errorf(ErrBadHTML, nil, 0, "%q in attribute name: %.32q", s[j:j+1], s)